package com.nbcio.modules.estar.receipt.service;

import com.nbcio.modules.estar.receipt.entity.ErpReceiptDetail;
import com.nbcio.modules.estar.receipt.entity.ErpReceipt;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 收款单主表
 * @Author: nbacheng
 * @Date:   2024-03-19
 * @Version: V1.0
 */
public interface IErpReceiptService extends IService<ErpReceipt> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(ErpReceipt erpReceipt,List<ErpReceiptDetail> erpReceiptDetailList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(ErpReceipt erpReceipt,List<ErpReceiptDetail> erpReceiptDetailList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 关联业务流程
	 */
	public void relationAct(String dataId);


}
